<div class="view">
	<div class="span-15">
	<span class="span-15 last employee-name">
		<?php echo CHtml::link($data->getFullName(), array(
			'view',
			'id' => $data->id
		)); ?>
	</span>
	<span class="span-2">
		<?php echo JHTML::getGender($data->gender);
		?>
	</span>
	<span class="span-3">
		<?php echo $data->getAttribute('employed') ? '在职' : '不在职'; ?>
		（<?php echo $data->getStatusText(); ?>）
	</span>
	<span class="span-5">
		<?php echo $data->currentProjectName;
		?>
	</span>
	<span class="span-4">
		<?php echo $data->employedDate.' - '.($data->unemployedDate?$data->unemployedDate:'今');
		?>
	</span>
	</div>
	<div class="span-3">
	<?php if ($data->personalPhotoThumb) {
			echo CHtml::link(
				CHtml::image(
					Yii::app()->baseUrl . '/uploads/employeePhoto/tn/' . $data->personalPhotoThumb),
				Yii::app()->baseUrl . '/uploads/employeePhoto/' . $data->personalPhotoFile,
				array(
					'target' => '_blank'
				));
		}
		?>
	</div>
	
	<div class="clear"></div>
</div>
